Repository navigation
Standardize configurable QA workflows for the trial - #18
Merged
Merged
Conversation
silveltman
marked this pull request as ready for review
October 17, 2026 14:12
silveltman
added a commit
that referenced
this pull request
Nov 26, 2026
…ulldev Sites shows (#36) Fulldev Sites shows each running version of a website with its preview, but a Shopify theme had no preview per pull request. This adds a reusable Theme preview workflow: each push to a pull request into the default branch mirrors the branch to an unpublished theme named `#<number> <tag> <branch>` (the tag is the repository's, and Sites's cms/<id> branches stay whole at the end, which its bar reads), reports the preview link as the commit status `fulldev/theme-preview/<number>`, which Sites reads, and closing the pull request or moving it off the default branch deletes the theme and takes the link away. It only ever touches that pull request's theme (never a merchant's theme or another repository's preview on the same store, also after a rebase), reads the pull request as it is when each queued job runs, skips without the store or the secret, and pins Shopify CLI 5.0.0. Callers run it on `pull_request_target`, as GitHub skips `pull_request` workflows during a merge conflict; it only uploads a same-repository branch's files, never runs them. Proved on the dev store fulldev-liquid-template-review through fulldotdev/liquid-template#18 and throwaway pull requests (#19, #20, #21, closed): a theme per pull request, reused on a new push and after a force-push, deleted on close with its link taken away. Merge this first; then #18 is pinned to the merge commit on main. Created with Claude Opus 5.5 in Claude Code, reviewed by GPT Sol. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ready PRs need a configurable test gate that does not wait for CodeRabbit capacity. Add reusable unit, HTTP/browser and safe live workflows. URL tests resolve all matching Netlify previews for the PR head and never rebuild them.
The three trial callers can disable CodeRabbit and require Test through the existing Review status. The gate reads the latest workflow run and attempt, rejects missing, skipped, failed or superseded results, and briefly retries delayed run and job metadata. Persistent metadata lag after a successful completion produces an actionable Ready failure instead of silently waiting. Other repositories keep their existing pinned workflows. Updated Ready callers grant actions: read.
Validation: all 39 workflow policy tests and actionlint pass. Independent review approved the final status-ordering and completion-lag corrections; no unresolved findings remain.